#include "neiderra/render/iRenderTarget.h"
#include "GUIWindowTarget.h"
#include "WindowImpl.h"

using namespace neiderra::rendering;
using namespace neiderra::gui;

GUIWindowTarget::GUIWindowTarget(GUIWindowImpl* target)
{
	_target = target;
}

GUIWindowTarget::~GUIWindowTarget()
{
}

unsigned GUIWindowTarget::getWidth()
{
	return _target->getWidth();
}

unsigned GUIWindowTarget::getHeight()
{
	return _target->getHeight();
}

void GUIWindowTarget::swapBuffers()
{
	_target->swapBuffers();
}
